package com.macro.mall.dto.oms;

import com.macro.mall.common.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * class
 *
 * @author xuyanjun
 * @date 2020/1/15
 */
@Valid
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class OrderCancelReqDto extends BaseRequestDto {

    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单id")
    private Long orderId;
}
